//
//  CommentQuoteData.m
//  YZZX
//
//  Created by Easaa on 15/4/28.
//  Copyright (c) 2015年 Easaa. All rights reserved.
//

#import "CommentQuoteData.h"

@implementation CommentQuoteData

-(id)initWithDataComment:(NSDictionary *)dic
{
    self = [super init];
    if(self)
    {
        if(dic == NULL)
        {
            return NULL;
        }
        self.comment        =[dic objectForKey:@"comment"];
        self.id_massge      =[dic objectForKey:@"id"];
        self.quote          = [[CommentQuoteData alloc]initWithDataComment:[dic objectForKey:@"quote"]];
        self.submit_date    =[dic objectForKey:@"submit_date"];
        self.user_name      =[dic objectForKey:@"user_name"];

    }
    return self;
}


@end
